'use strict';

function router(app) {
  app.router.get('/onulist', app.controller.onu.list);
  app.router.get('/getOnuNums', app.controller.onu.getOnuNums);
  app.router.get('/onurefresh', app.controller.onu.refresh);
  app.router.get('/onudelete', app.controller.onu.delete);
  app.router.get('/onubind', app.controller.onu.bind);
  app.router.get('/onuunbind', app.controller.onu.unbind);
  app.router.get('/getONUDetails', app.controller.onu.getONUDetails);
  app.router.get('/onuManagement', app.controller.onu.onuManagement);
  app.router.get('/setcatvstate',app.controller.onu.setCatvState)
  app.router.get('getONUCapability',app.controller.onu.getONUCapability)
  app.router.post('setOnuVoip',app.controller.onu.setOnuVoip)
  app.router.get('getOnuVoip',app.controller.onu.getOnuVoip)
}
module.exports = {
  router,
};
